package com.ruoyi.project.erp.sossend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 订单发货明细对象 sossend
 * 
 * @author ruoyi
 * @date 2020-10-20
 */
public class Sossend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    @Excel(name = "订单号")
    private String soCode;
    /** -订单明细表SOS中的自增ID */
    //@Excel(name = "-订单明细表SO中的自增ID")
    private Long ids;

    //@Excel(name = "-订单明细表SOS中的自增ID")
    private Long idsos;

    /** 订单明细表SOS中的pcode */
    @Excel(name = "编码")
    private String pcode;

    /** 订单明细表SOS中的pname */
    @Excel(name = "产品名称")
    private String pname;

    /** 订单明细表SOS中的pstd */
    @Excel(name = "单位")
    private String pstd;

    /** 发货数量 */
    @Excel(name = "发货数量")
    private Integer sendqty;

    /** 发货物流号 */
    @Excel(name = "发货物流号")
    private String logcode;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    /** 发货号 */
    @Excel(name = "发货号")
    private String sendcode;

    @Excel(name = "发货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date senddt;

    @Excel(name = "发货状态")
    private String st;
    /**是否厂家代发货*/
    @Excel(name = "是否厂家代发货")
    private String isreplace;
    //收货人
    @Excel(name = "收货人")
    private String recemp;
    //收货日期
    @Excel(name = "售后日期")
    private Date recdt;
    @Excel(name = "是否生单")
    private String kingst;
    @Excel(name = "发货仓库编码")
    private String fromwh;
    @Excel(name = "发货仓库名称")
    private String fromwhname;

    private String sofromwhname;

    private String sotowhname;

    private String itemcode;

    public String getFromwh() {
        return fromwh;
    }

    public void setFromwh(String fromwh) {
        this.fromwh = fromwh;
    }

    public String getFromwhname() {
        return fromwhname;
    }

    public void setFromwhname(String fromwhname) {
        this.fromwhname = fromwhname;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIds(Long ids) 
    {
        this.ids = ids;
    }

    public Long getIds() 
    {
        return ids;
    }
    public void setPcode(String pcode) 
    {
        this.pcode = pcode;
    }

    public String getPcode() 
    {
        return pcode;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setPstd(String pstd) 
    {
        this.pstd = pstd;
    }

    public String getPstd() 
    {
        return pstd;
    }
    public void setSendqty(Integer sendqty) 
    {
        this.sendqty = sendqty;
    }

    public Integer getSendqty() 
    {
        return sendqty;
    }
    public void setLogcode(String logcode) 
    {
        this.logcode = logcode;
    }

    public String getLogcode() 
    {
        return logcode;
    }
    public void setSmemo(String smemo) 
    {
        this.smemo = smemo;
    }

    public String getSmemo() 
    {
        return smemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ids", getIds())
            .append("pcode", getPcode())
            .append("pname", getPname())
            .append("pstd", getPstd())
            .append("sendqty", getSendqty())
            .append("logcode", getLogcode())
            .append("smemo", getSmemo())
            .toString();
    }

    public String getSendcode() {
        return sendcode;
    }

    public void setSendcode(String sendcode) {
        this.sendcode = sendcode;
    }

    public Date getSenddt() {
        return senddt;
    }

    public void setSenddt(Date senddt) {
        this.senddt = senddt;
    }

    public String getSt() {
        return st;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public Long getIdsos() {
        return idsos;
    }

    public void setIdsos(Long idsos) {
        this.idsos = idsos;
    }

    public String getIsreplace() {
        return isreplace;
    }

    public void setIsreplace(String isreplace) {
        this.isreplace = isreplace;
    }

    public String getRecemp() {
        return recemp;
    }

    public void setRecemp(String recemp) {
        this.recemp = recemp;
    }

    public Date getRecdt() {
        return recdt;
    }

    public void setRecdt(Date recdt) {
        this.recdt = recdt;
    }

    public String getKingst() {
        return kingst;
    }

    public void setKingst(String kingst) {
        this.kingst = kingst;
    }

    public String getSoCode() {
        return soCode;
    }

    public void setSoCode(String soCode) {
        this.soCode = soCode;
    }

    public String getSofromwhname() {
        return sofromwhname;
    }

    public void setSofromwhname(String sofromwhname) {
        this.sofromwhname = sofromwhname;
    }

    public String getSotowhname() {
        return sotowhname;
    }

    public void setSotowhname(String sotowhname) {
        this.sotowhname = sotowhname;
    }

    public String getItemcode() {
        return itemcode;
    }

    public void setItemcode(String itemcode) {
        this.itemcode = itemcode;
    }
}
